package demo06;

import java.lang.reflect.Constructor;

public class demo03 {
    public static void main(String[] args) throws Exception{
        Class<?> cls = Class.forName("demo06.Student");
        Constructor<?> c = cls.getDeclaredConstructor();
        c.setAccessible(true);
        Object o1 = c.newInstance();
        Object o2 = c.newInstance();
        System.out.println(o1);
        System.out.println(o2);


    }
}
